package src.token;

import java.awt.Graphics;
import java.awt.image.BufferedImage;
import src.Ks;



public class Token extends SuperToken{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	public int pos_x = 0;
	public int pos_y = 0;
	
	//Solo un token puede ser el clikeado:
	public boolean dragged = false;
	
	public int pos_i = 0;
	public int pos_j = 0;
	
	
	public int level = 5;
	
	public Token m_next = null;
	public Token m_prev = null;
	
	public Token(int posI, int posJ,int posX,int posY,int _level ){
		super();
		pos_i = posI;
		pos_j = posJ;
		
		pos_x = posX;
		pos_y = posY;
		
		level = _level;
		
	
		setLocation(pos_x,pos_y);
		setSize(Ks.token_size,Ks.token_size);
		setBounds(pos_x,pos_y,Ks.token_size,Ks.token_size);
		
	}
	

	public int frameID = 0;
	public BufferedImage[] animation = null;
	
	public void updateAnimation(){
		
	}
	
	public void paint(Graphics g){
		
	}
}
